﻿using System;

// Token: 0x020001E7 RID: 487
public class EngageShootAction : ShooterAction
{
	// Token: 0x06000A5F RID: 2655 RVA: 0x0005A842 File Offset: 0x00058A42
	public EngageShootAction(EntityBase target)
	{
		this.name = "EngageShoot";
		this.target = target;
	}

	// Token: 0x06000A60 RID: 2656 RVA: 0x0005A85C File Offset: 0x00058A5C
	public override void StartAction()
	{
		this.shooterController = this.agent.gameObject.GetComponent<AIShooterController>();
		this.shooterController.StartSeekFiring(this.target);
	}

	// Token: 0x06000A61 RID: 2657 RVA: 0x000597B1 File Offset: 0x000579B1
	public override bool IsCompleted()
	{
		return this.hasStarted;
	}

	// Token: 0x04000FAB RID: 4011
	private EntityBase target;
}
